<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>XMP Toolkit SDK: public/include/client-glue/WXMP_Common.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xmp_tagline_small.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">XMP Toolkit SDK
   &#160;<span id="projectnumber">6.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('WXMP__Common_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">WXMP_Common.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="WXMP__Common_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#if ! __WXMP_Common_hpp__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a92bfba5db10b3ea02b3ad736c8e11dc7">    2</a></span>&#160;<span class="preprocessor">#define __WXMP_Common_hpp__ 1</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// =================================================================================================</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// Copyright 2002 Adobe</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// All Rights Reserved.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance with the terms</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// of the Adobe license agreement accompanying it. If you have received this file from a source other </span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// than Adobe, then your use, modification, or distribution of it requires the prior written permission</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// of Adobe.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// =================================================================================================</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifndef XMP_Inline</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">        #if TXMP_EXPAND_INLINE</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">                #define XMP_Inline inline</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">        #else</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#acfcb026582fc145095d3667241515353">   18</a></span>&#160;<span class="preprocessor">                #define XMP_Inline </span><span class="comment">/* not inline */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a360e92875f1147e47c365950a6560d6c">   22</a></span>&#160;<span class="preprocessor">#define XMP_CTorDTorIntro(Class) template &lt;class tStringObj&gt; XMP_Inline Class&lt;tStringObj&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a9874672542b6adee728f1176b565c141">   23</a></span>&#160;<span class="preprocessor">#define XMP_MethodIntro(Class,ResultType) template &lt;class tStringObj&gt; XMP_Inline ResultType Class&lt;tStringObj&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#aab5145844b9ee7738d949e0137b51ebe">   25</a></span>&#160;<span class="keyword">typedef</span> void (* <a class="code" href="WXMP__Common_8hpp.html#aab5145844b9ee7738d949e0137b51ebe">SetClientStringProc</a>) ( <span class="keywordtype">void</span> * clientPtr, <a class="code" href="XMP__Const_8h.html#ad439e3ceeb4590d310f6125aa12c6df6">XMP_StringPtr</a> valuePtr, <a class="code" href="XMP__Const_8h.html#a9f7dcc184f901c713274edfdac5bcc9a">XMP_StringLen</a> valueLen );</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#aa3b42389be19af5529de6dca8f103698">   26</a></span>&#160;<span class="keyword">typedef</span> void (* <a class="code" href="WXMP__Common_8hpp.html#aa3b42389be19af5529de6dca8f103698">SetClientStringVectorProc</a>) ( <span class="keywordtype">void</span> * clientPtr, <a class="code" href="XMP__Const_8h.html#ad439e3ceeb4590d310f6125aa12c6df6">XMP_StringPtr</a> * arrayPtr, XMP_Uns32 stringCount );</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structWXMP__Result.html">   28</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structWXMP__Result.html">WXMP_Result</a> {</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structWXMP__Result.html#ae329adc6d31243687d8bd85987ad6999">   29</a></span>&#160;    <a class="code" href="XMP__Const_8h.html#ad439e3ceeb4590d310f6125aa12c6df6">XMP_StringPtr</a> <a class="code" href="structWXMP__Result.html#ae329adc6d31243687d8bd85987ad6999">errMessage</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structWXMP__Result.html#ae1b91c50cee342a87f7708dd92a3d538">   30</a></span>&#160;    <span class="keywordtype">void</span> *        <a class="code" href="structWXMP__Result.html#ae1b91c50cee342a87f7708dd92a3d538">ptrResult</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structWXMP__Result.html#a872bf8583413190b991beda67f017fb5">   31</a></span>&#160;    <span class="keywordtype">double</span>        <a class="code" href="structWXMP__Result.html#a872bf8583413190b991beda67f017fb5">floatResult</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structWXMP__Result.html#af515f52630be278a2334d7d9db587f13">   32</a></span>&#160;    XMP_Uns64     <a class="code" href="structWXMP__Result.html#af515f52630be278a2334d7d9db587f13">int64Result</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structWXMP__Result.html#a0bef8219ee23d2869ae6701330820794">   33</a></span>&#160;    XMP_Uns32     <a class="code" href="structWXMP__Result.html#a0bef8219ee23d2869ae6701330820794">int32Result</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structWXMP__Result.html#ad1046c86e2b3eba3109e6ae3f7063352">   34</a></span>&#160;        <a class="code" href="structWXMP__Result.html#ad1046c86e2b3eba3109e6ae3f7063352">WXMP_Result</a>() : <a class="code" href="structWXMP__Result.html#ae329adc6d31243687d8bd85987ad6999">errMessage</a>(0),<a class="code" href="structWXMP__Result.html#ae1b91c50cee342a87f7708dd92a3d538">ptrResult</a>(NULL),<a class="code" href="structWXMP__Result.html#a872bf8583413190b991beda67f017fb5">floatResult</a>(0),<a class="code" href="structWXMP__Result.html#af515f52630be278a2334d7d9db587f13">int64Result</a>(0),<a class="code" href="structWXMP__Result.html#a0bef8219ee23d2869ae6701330820794">int32Result</a>(0){};</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;};</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#if __cplusplus</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a5dfbc13f3139cae2812a1cf0c979999c">   41</a></span>&#160;<span class="preprocessor">#define PropagateException(res) \</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">        if ( res.errMessage != 0 ) throw XMP_Error ( res.int32Result, res.errMessage );</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#ifndef XMP_TraceClientCalls</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a803c218d593737c645bbea4bf80dd815">   45</a></span>&#160;<span class="preprocessor">        #define XMP_TraceClientCalls            0</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#aab5f92f08cddd67ae7c8bab22b4f0dd7">   46</a></span>&#160;<span class="preprocessor">        #define XMP_TraceClientCallsToFile      0</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#if ! XMP_TraceClientCalls</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a58d0e4857f5a40d6a82eb480832d068e">   50</a></span>&#160;<span class="preprocessor">        #define InvokeCheck(WCallProto) \</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">        WXMP_Result wResult;        \</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">                WCallProto;                 \</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">                PropagateException ( wResult )</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="keyword">extern</span> FILE * xmpClientLog;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">        #define InvokeCheck(WCallProto)                                                                          \</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">        WXMP_Result wResult;                                                                                 \</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">        fprintf ( xmpClientLog, &quot;WXMP calling: %s\n&quot;, #WCallProto ); fflush ( xmpClientLog );                \</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">        WCallProto;                                                                                          \</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">        if ( wResult.errMessage == 0 ) {                                                                     \</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">                        fprintf ( xmpClientLog, &quot;WXMP back, no error\n&quot; ); fflush ( xmpClientLog );                      \</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">        } else {                                                                                             \</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">                        fprintf ( xmpClientLog, &quot;WXMP back, error: %s\n&quot;, wResult.errMessage ); fflush ( xmpClientLog ); \</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">        }                                                                                                    \</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">                PropagateException ( wResult )</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">// =================================================================================================</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#ade570a6b1a2c59e509c71b5e82df6f80">   70</a></span>&#160;<span class="preprocessor">#define WrapNoCheckVoid(WCallProto) \</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">        WCallProto;</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a683fa38b9541eb26f91304087acad44d">   73</a></span>&#160;<span class="preprocessor">#define WrapCheckVoid(WCallProto) \</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a2cb35fa2967a5bce3686dde786db8210">   76</a></span>&#160;<span class="preprocessor">#define WrapCheckMetaRef(result,WCallProto) \</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);                \</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">    XMPMetaRef result = XMPMetaRef(wResult.ptrResult)</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a08838e2c5bcb3f4547172b4cce27a4a4">   80</a></span>&#160;<span class="preprocessor">#define WrapCheckIterRef(result,WCallProto) \</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);                \</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">    XMPIteratorRef result = XMPIteratorRef(wResult.ptrResult)</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a00bbfd8bed08cc3ef59534e66a7e55f8">   84</a></span>&#160;<span class="preprocessor">#define WrapCheckDocOpsRef(result,WCallProto) \</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);                  \</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">    XMPDocOpsRef result = XMPDocOpsRef(wResult.ptrResult)</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#ab7a2f115c6388749a3e20928978d3874">   88</a></span>&#160;<span class="preprocessor">#define  WrapCheckNewMetadata(result,WCallProto) \</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);                  \</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">    void * result = wResult.ptrResult</span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a31e0519b68ec7cb1f4e54cd480dbc6bd">   92</a></span>&#160;<span class="preprocessor">#define WrapCheckBool(result,WCallProto) \</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);             \</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">    bool result = bool(wResult.int32Result)</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a3ade7afea8e0dd088c4322680712246a">   96</a></span>&#160;<span class="preprocessor">#define WrapCheckTriState(result,WCallProto) \</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);                 \</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">    XMP_TriState result = XMP_TriState(wResult.int32Result)</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#ab0186f6247d7b051f1ab263c461c14c0">  100</a></span>&#160;<span class="preprocessor">#define WrapCheckOptions(result,WCallProto) \</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);                \</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">    XMP_OptionBits result = XMP_OptionBits(wResult.int32Result)</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#aa5157be6b847c59d15e166d6fc7d392d">  104</a></span>&#160;<span class="preprocessor">#define WrapCheckStatus(result,WCallProto) \</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);               \</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">    XMP_Status result = XMP_Status(wResult.int32Result)</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#ae20f3a4940eeddcf29a174c86be91788">  108</a></span>&#160;<span class="preprocessor">#define WrapCheckIndex(result,WCallProto) \</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);              \</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">    XMP_Index result = XMP_Index(wResult.int32Result)</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a18b3cd640d64484f12de7f0367d4ccb2">  112</a></span>&#160;<span class="preprocessor">#define WrapCheckInt32(result,WCallProto) \</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);              \</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">    XMP_Int32 result = wResult.int32Result</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a22af7eda5280ca99f2c2e48b20ee4c74">  116</a></span>&#160;<span class="preprocessor">#define WrapCheckInt64(result,WCallProto) \</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);              \</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="preprocessor">    XMP_Int64 result = wResult.int64Result</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a0f0d9f01db5db9c03a3432d3fb43b86a">  120</a></span>&#160;<span class="preprocessor">#define WrapCheckFloat(result,WCallProto) \</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);              \</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">    double result = wResult.floatResult</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="WXMP__Common_8hpp.html#a75478cb5e5f458cd440d87c650dd3673">  124</a></span>&#160;<span class="preprocessor">#define WrapCheckFormat(result,WCallProto) \</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor">    InvokeCheck(WCallProto);               \</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">    XMP_FileFormat result = wResult.int32Result</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">// =================================================================================================</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">#if __cplusplus</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;}       <span class="comment">// extern &quot;C&quot;</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">#endif  // __WXMP_Common_hpp__</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aWXMP__Common_8hpp_html_aab5145844b9ee7738d949e0137b51ebe"><div class="ttname"><a href="WXMP__Common_8hpp.html#aab5145844b9ee7738d949e0137b51ebe">SetClientStringProc</a></div><div class="ttdeci">void(* SetClientStringProc)(void *clientPtr, XMP_StringPtr valuePtr, XMP_StringLen valueLen)</div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00025">WXMP_Common.hpp:25</a></div></div>
<div class="ttc" id="astructWXMP__Result_html_ad1046c86e2b3eba3109e6ae3f7063352"><div class="ttname"><a href="structWXMP__Result.html#ad1046c86e2b3eba3109e6ae3f7063352">WXMP_Result::WXMP_Result</a></div><div class="ttdeci">WXMP_Result()</div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00034">WXMP_Common.hpp:34</a></div></div>
<div class="ttc" id="astructWXMP__Result_html_ae1b91c50cee342a87f7708dd92a3d538"><div class="ttname"><a href="structWXMP__Result.html#ae1b91c50cee342a87f7708dd92a3d538">WXMP_Result::ptrResult</a></div><div class="ttdeci">void * ptrResult</div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00030">WXMP_Common.hpp:30</a></div></div>
<div class="ttc" id="astructWXMP__Result_html_a872bf8583413190b991beda67f017fb5"><div class="ttname"><a href="structWXMP__Result.html#a872bf8583413190b991beda67f017fb5">WXMP_Result::floatResult</a></div><div class="ttdeci">double floatResult</div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00031">WXMP_Common.hpp:31</a></div></div>
<div class="ttc" id="astructWXMP__Result_html_ae329adc6d31243687d8bd85987ad6999"><div class="ttname"><a href="structWXMP__Result.html#ae329adc6d31243687d8bd85987ad6999">WXMP_Result::errMessage</a></div><div class="ttdeci">XMP_StringPtr errMessage</div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00029">WXMP_Common.hpp:29</a></div></div>
<div class="ttc" id="astructWXMP__Result_html_a0bef8219ee23d2869ae6701330820794"><div class="ttname"><a href="structWXMP__Result.html#a0bef8219ee23d2869ae6701330820794">WXMP_Result::int32Result</a></div><div class="ttdeci">XMP_Uns32 int32Result</div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00033">WXMP_Common.hpp:33</a></div></div>
<div class="ttc" id="aWXMP__Common_8hpp_html_aa3b42389be19af5529de6dca8f103698"><div class="ttname"><a href="WXMP__Common_8hpp.html#aa3b42389be19af5529de6dca8f103698">SetClientStringVectorProc</a></div><div class="ttdeci">void(* SetClientStringVectorProc)(void *clientPtr, XMP_StringPtr *arrayPtr, XMP_Uns32 stringCount)</div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00026">WXMP_Common.hpp:26</a></div></div>
<div class="ttc" id="aXMP__Const_8h_html_ad439e3ceeb4590d310f6125aa12c6df6"><div class="ttname"><a href="XMP__Const_8h.html#ad439e3ceeb4590d310f6125aa12c6df6">XMP_StringPtr</a></div><div class="ttdeci">const typedef char * XMP_StringPtr</div><div class="ttdoc">The type for input string parameters. A const char *, a null-terminated UTF-8 string.</div><div class="ttdef"><b>Definition:</b> <a href="XMP__Const_8h_source.html#l00178">XMP_Const.h:178</a></div></div>
<div class="ttc" id="astructWXMP__Result_html"><div class="ttname"><a href="structWXMP__Result.html">WXMP_Result</a></div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00028">WXMP_Common.hpp:28</a></div></div>
<div class="ttc" id="aXMP__Const_8h_html_a9f7dcc184f901c713274edfdac5bcc9a"><div class="ttname"><a href="XMP__Const_8h.html#a9f7dcc184f901c713274edfdac5bcc9a">XMP_StringLen</a></div><div class="ttdeci">XMP_Uns32 XMP_StringLen</div><div class="ttdoc">The type for string length parameters. A 32-bit unsigned integer, as big as will be practically neede...</div><div class="ttdef"><b>Definition:</b> <a href="XMP__Const_8h_source.html#l00179">XMP_Const.h:179</a></div></div>
<div class="ttc" id="astructWXMP__Result_html_af515f52630be278a2334d7d9db587f13"><div class="ttname"><a href="structWXMP__Result.html#af515f52630be278a2334d7d9db587f13">WXMP_Result::int64Result</a></div><div class="ttdeci">XMP_Uns64 int64Result</div><div class="ttdef"><b>Definition:</b> <a href="WXMP__Common_8hpp_source.html#l00032">WXMP_Common.hpp:32</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_f832923ad3cb060bc87ad85e68b8a1c3.html">public</a></li><li class="navelem"><a class="el" href="dir_0fb2101ba02d68f078970216a1fe0334.html">include</a></li><li class="navelem"><a class="el" href="dir_0e5f10c8914b73a2f667b010a9332417.html">client-glue</a></li><li class="navelem"><a class="el" href="WXMP__Common_8hpp.html">WXMP_Common.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
